//
//  RHMQDevModel.h
//  RuiHeAppApp
//
//  Created by Jun on 2023/8/16.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

//#define sub_Topic  @"sub_Topic_"
#define sub_Topic  @"SERVER/POINT"
#define pub_Topic  @"point"

@class RHMQMsgModel;

@interface RHMQDevModel : BaseModel

//设备ID
@property (nonatomic ,strong) NSString *devId;
//设备Name
@property (nonatomic ,strong) NSString *devName;
//设备密钥
@property (nonatomic ,strong) NSString *secretKey;
//订阅主题
@property (nonatomic ,strong) NSString *subTopic;
//发布主题 
@property (nonatomic ,strong) NSString *pubTopic;
//设备在线状态
@property (nonatomic ,assign) BOOL isOnline;
//端点关系
@property (nonatomic ,copy) NSArray *relationArray;
//接收到的指令信息
@property (nonatomic ,strong) NSMutableArray<RHMQMsgModel *> *commandsArray;

@property(nonatomic,copy)NSString    *deviceTypeCode;//小类(设备型号)
@end

NS_ASSUME_NONNULL_END
